//
//  Muse_ex_dictionary.swift
//  Muse
//
//  Created by mac on 2023/1/5.
//

import UIKit

//MARK: - Dictionary
extension Dictionary {
    
    var toJsonString: String {
        guard let data = try? JSONSerialization.data(withJSONObject: self, options: []) else { return "" }
        guard let str = String(data: data, encoding: .utf8) else { return "" }
        return str
    }
    
}
